<!DOCTYPE html>
<html>
	<head>
		<title>CSS Test: flow-into on list items from multiple lists that have the "reversed" or "start" HTML attributes set</title>
		<link rel="author" title="Mihai Balan" href="mibalan@adobe.com">
		<link rel="help" href="http://www.w3.org/TR/css3-regions/#properties" />
        <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" />
		<meta name="flags" content="">
		<meta name="assert" content="The flow-into property can be applied to individual list items. List items extracted in named flows and flowed into regions must preserve their numbering, even when extracting items from multiple and nested lists into the same named flow. The numbering should also honor the HTML 'reversed' and 'start' attribute.">
		<link rel="match" href="reference/extract-list-items-007-ref.html">
		<style>
		ol ol {
			color: blue;
			list-style-type: upper-roman;
		}
		li {
			flow-into: f1;
		}
		#r1 {
			flow-from: f1;
		}
		
		.region {
			margin: 2em;
			background-color: lightgray;
			width: 20em;
		}
		</style>
	</head>
	<body>
		<p>This test passes if there is a gray rectangle with a numbered list, as described below.<br>
		The numbers for the list should be outside the rectangle and all items should render at the same indentation level.<br>
		The second and third items in the list should be blue and numbered using roman numerals, CI and C, respectively. All the other items in the list should be black and numbered with decimal numbers corresponding to the item text.<br>
		The final numbering of this list should be: 3, CI, C, 2, 1, 10, 11, 12, 13.</p>

		<ol reversed="true">
			<li>List item no. 3
				<ol start="101" reversed>
					<li>Roman-numbered list item CI</li>
					<li>Roman-numbered list item C</li>
				</ol>
			</li>
			<li>List item no. 2</li>
			<li>List item no. 1</li>
		</ol>
		<ol start="10">
			<li>List item no. 10</li>
			<li>List item no. 11</li>
			<li>List item no. 12</li>
			<li>List item no. 13</li>
		</ol>
		<div class="region" id="r1"></div>
	</body>
</html>